<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fm" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML >
<html>
<head>
<base href="<%=basePath%>">
<title>企业信息管理系统--添加员工</title>

<link rel="stylesheet" href="css/style.css" type="text/css"></link>
<link rel="stylesheet" href="css/addStaff.css" type="text/css"></link>
</head>

<body>
	<div class="banxi">
		<form action="staff/addStaff" method="post">
			<div style="text-align: center;">
				<h1>员工简历</h1>
			</div>
			<div style="margin-left: 20px;">
				<label class="inline">员工编号:<input type="text" name="staffID" value=""/> </label> <label class="inline"><input type="checkbox" name="state" value="1">在职</label>
			</div>
			<table class="banxi table" cellpadding="0" cellspacing="0">
				<tr>
					<td>姓名</td>
					<td><input type="text" class="in_text" name="userName" value=""/></td>
					<td>性别</td>
					<td><select class="in_text" name="sex">
							<option value="1">男</option>
							<option value="0">女</option>
					</select></td>
					<td rowspan="6" style="width: 160px">照片</td>
				</tr>
				<tr>
					<td>出生日期</td>
					<td><input type="date" class="in_date" name="" value=""></td>
					<td>入职时间</td>
					<td><input type="date" class="in_date" name="entryDate" value=""></td>
				</tr>
				<tr>
					<td>婚姻状况</td>
					<td><select name="gender" class="in_text" name="marriage" >
							<option value="0">未婚</option>
							<option value="1">已婚</option>
					</select></td>
					<td>政治面貌</td>
					<td><input type="text" class="in_text" name="" value=""/></td>
				</tr>
				<tr>
					<td>民族</td>
					<td><input type="text" class="in_text" name="" value=""/></td>
					<td>籍贯</td>
					<td><input type="text" class="in_text" name="nativePlace" value=""/></td>
				</tr>
				<tr>
					<td>学历</td>
					<td><input type="text" class="in_text" name="education" value=""/></td>
					<td>专业</td>
					<td><input type="text" class="in_text" name="major" value=""/></td>
				</tr>
				<tr>
					<td>毕业院校</td>
					<td colspan="3"><input type="text" class="in_text" style="width: 250px;" name="graduateAcademy" value=""/>
					</td>
				</tr>
				<tr>
					<td>联系地址</td>
					<td colspan="2"><input type="text" class="in_text" name="address" value=""/>
					</td>
					<td>基本工资</td>
					<td><input type="text" class="in_text" name="salary" value=""/>
					</td>
				</tr>
				<tr>
					<td>电子信箱</td>
					<td colspan="2"><input type="text" class="in_text" name="email" value=""/>
					</td>
					<td>身份证号码</td>
					<td><input type="text" class="in_text" name="ID_card_No" value=""/>
					</td>
				</tr>
				<tr>
					<td>联系电话</td>
					<td colspan="2"><input type="text" class="in_text" name="phone" value=""/>
					</td>
					<td>银行账号</td>
					<td><input type="text" class="in_text" name="bank_No" value=""/>
					</td>
				</tr>
			</table>
			<ul>
				<li class="fl">部门</li>
				<li class="fl">
				<select name="sectionID">
						<c:forEach items="${section }" var="s">
							<option value="${s.id }">${s.sectionName }</option>
						</c:forEach>
				</select></li>
				<li class="fl">职位</li>
				<li class="fl"><select name="competentID">
						<c:forEach items="${competent }" var="s">
							<option value="${s.id }">${s.competent }</option>
						</c:forEach>
				</select></li>
				<li class="fl">职称</li>
				<li class="fl"><input type="text" name="" value=""/></li>
				<li class="fl">工号</li>
				<li class="fl"><input type="text" name="staffNo" value=""/></li>
				<li class="fl">合同期限</li>
				<li class="fl" style="width: 398px"><input type="date" name="pactStart" value=""/>--<input type="date" name="pactEnd" value=""/></li>
				<li class="fl" style="width: 28px;height: 230px;line-height: 60px">个人简历</li>
				<li class="fl" style="width: 756px;height: 230px;"><textarea  cols="105" rows="15" name="resume"  ></textarea></li>
				<li class="fl" style="width: 28px;height: 230px;line-height: 120px">备注</li>
				<li class="fl" style="width: 756px;height: 230px;"><textarea  cols="105" rows="15" name="remark" ></textarea></li>
			</ul>
			<input style="width: 66px;height: 30px;margin: 10px 20px;" type="button" value="取  消" class="fr" /> <input style="width: 66px;height: 30px;margin: 10px 20px;"  type="submit" value="保  存" class="fr" />
		</form>
	</div>
	<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="js/addStaff.js"></script>
</body>
</html>
